TEC\Tickets\Commerce\Ticket B

Total Complexity 85
Dependencies 21
Dependents 16
Total lines 1,015
Lines of code 423
Logical lines of code 257
Comment lines 428
Methods 20
Properties 13

Methods 20

Method Rating Maintainability Complexity Lines of code
save()
D
26
30 149
get_ticket()
A
40 11 57
delete()
S
51 7 24
modify_counters_by_status()
S
53 6 23
get_status_quantity()
S
57 4 16
get_qty_pending()
S
53 3 23
increase_ticket_sales_by()
S
58 3 17
decrease_ticket_sales_by()
S
64 3 9
handle_moved_ticket_updates()
S
58 2 14
get_cancelled()
S
59 2 14
update_stock_after_attendee_deletion()
S
60 2 13
register_post_type()
S
56 1 19
get_price_value()
S
68 2 7
get_template()
S
64 2 10
update_global_stock()
S
66 2 9
get_price_html()
S
74 1 4
get_related_event_id()
S
79 1 3
get_status_count_meta_key()
S
79 1 3
increase_ticket_stock_by()
S
74 1 4
decrease_ticket_stock_by()
S
71 1 5